<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/30
 * Time: 19:33
 */
if ($_SERVER['REQUEST_METHOD']=='POST'){
    echo '用户的IP地址是：<br/>'.$_SERVER['REMOTE_ADDR'];
    echo '<br/>用户的完整地址是：<br/>'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    echo '<br/>用户使用的访问方法是：<br/>'.$_SERVER['REQUEST_METHOD'];
    echo '<br/>';
    print_r($_POST);
}
